package com.insuremonitor.system.mapper;

import com.insuremonitor.system.domain.FrontWarrantyCustomer;

import java.util.List;

/**
 * 有意向保险客户Mapper接口
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public interface FrontWarrantyCustomerMapper 
{
    /**
     * 查询有意向保险客户
     * 
     * @param arrantyCustomerId 有意向保险客户主键
     * @return 有意向保险客户
     */
    public FrontWarrantyCustomer selectFrontWarrantyCustomerByArrantyCustomerId(Long arrantyCustomerId);

    /**
     * 查询有意向保险客户列表
     * 
     * @param frontWarrantyCustomer 有意向保险客户
     * @return 有意向保险客户集合
     */
    public List<FrontWarrantyCustomer> selectFrontWarrantyCustomerList(FrontWarrantyCustomer frontWarrantyCustomer);

    /**
     * 新增有意向保险客户
     * 
     * @param frontWarrantyCustomer 有意向保险客户
     * @return 结果
     */
    public int insertFrontWarrantyCustomer(FrontWarrantyCustomer frontWarrantyCustomer);

    /**
     * 修改有意向保险客户
     * 
     * @param frontWarrantyCustomer 有意向保险客户
     * @return 结果
     */
    public int updateFrontWarrantyCustomer(FrontWarrantyCustomer frontWarrantyCustomer);

    /**
     * 删除有意向保险客户
     * 
     * @param arrantyCustomerId 有意向保险客户主键
     * @return 结果
     */
    public int deleteFrontWarrantyCustomerByArrantyCustomerId(Long arrantyCustomerId);

    /**
     * 批量删除有意向保险客户
     * 
     * @param arrantyCustomerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFrontWarrantyCustomerByArrantyCustomerIds(Long[] arrantyCustomerIds);

    /**
     * 查询有意向保险客户列表
     *
     * @param frontWarrantyCustomer 有意向保险客户
     * @return 有意向保险客户集合
     */
    public List<FrontWarrantyCustomer> selectList(FrontWarrantyCustomer frontWarrantyCustomer);

    /**
     * 查询有意向保险客户
     *
     * @param arrantyCustomerId 有意向保险客户主键
     * @return 有意向保险客户
     */
    public FrontWarrantyCustomer selectByArrantyCustomerId(Long arrantyCustomerId);


}
